package com.weikuang.fareast.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.weikuang.fareast.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import cn.dlc.commonlibrary.ui.widget.TitleBar;

public class SelectActivity extends BaseActivity {
    @BindView(R.id.mTitleBar)
    TitleBar mTitleBar;
    @BindView(R.id.send)
    TextView send;
    @BindView(R.id.add)
    TextView add;
    @BindView(R.id.scrap)
    TextView scrap;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_select;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_select);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.send, R.id.add, R.id.scrap})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.send:
                startActivity(HotelSendActivity.class);
                break;
            case R.id.add:
                startActivity(HotelAddActivity.class);
                break;
            case R.id.scrap:
                startActivity(HotelScrapActivity.class);
                break;
        }
    }
}
